package com.designpattern.creatorpattern.factorypattern.abstract_factory;

/**
 * @author Administration
 * @date 2021/10/13 - 11:36 - 星期三
 * @project 工厂模式  抽象工厂工厂模式  具体工厂
 * @package com.designpattern.factorypattern.abstract_factory
 * @by 晨
 */
public class AmericanDessertFactory implements DessertFactory{
    @Override
    public Coffee createCoffee() {
        return new AmericanCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new MatchaMousse();
    }
}
